package com.whminwei.edu.api.dc.client;

import com.whminwei.common.feign.decoder.FullHttpRspnConfig;
import com.whminwei.common.http.rspn.FullHttpResponse;
import com.whminwei.edu.api.dc.dto.fspn.base.DcCertificateFspn;
import com.whminwei.edu.api.dc.dto.fspn.base.DcIndustryFspn;
import com.whminwei.edu.api.dc.dto.fspn.base.DcTrainingModeFspn;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author zhangjq
 * @since 2024-08-13
 */
@FeignClient(name = "xzzg-pt-base-service", contextId = "datacenter-base", configuration = FullHttpRspnConfig.class)
public interface DcBaseClient {

    /**
     * 获取职业资格证书信息
     *
     * @return com.whminwei.common.http.rspn.FullHttpResponse<com.whminwei.edu.api.dc.dto.fspn.base.DcCertificateFspn>
     * @author zhangjq
     * @since 2024-08-13
     */
    @PostMapping("/datacenter/getCertificateInfo")
    FullHttpResponse<DcCertificateFspn> getCertificateInfo();

    /**
     * 获取行业的第三级，国网平台填报专供
     * @author wangy
     * @since 15:09 2024/10/14
     * @return com.whminwei.common.http.rspn.FullHttpResponse<com.whminwei.edu.api.dc.dto.fspn.base.DcIndustryFspn>
     **/
    @PostMapping("/datacenter/getThreeIndustry")
    FullHttpResponse<DcIndustryFspn> getThreeIndustry();

    /**
     * 获取培养模式
     *
     * @return com.whminwei.common.http.rspn.FullHttpResponse<com.whminwei.edu.api.dc.dto.fspn.base.DcTrainingModeFspn>
     * @author zhangjq
     * @since 2024-10-16
     */
    @PostMapping("/datacenter/getTrainingMode")
    FullHttpResponse<DcTrainingModeFspn> getTrainingMode();
}
